package com.szw.dlyk.mapper;

import com.szw.dlyk.commons.DataScope;
import com.szw.dlyk.domain.ActivityRemark;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.szw.dlyk.query.ActivityRemarkQuery;

import java.util.List;

/**
* @author asus
* @description 针对表【t_activity_remark(市场活动备注表)】的数据库操作Mapper
* @createDate 2024-01-21 18:16:50
* @Entity com.szw.dlyk.domain.ActivityRemark
*/
public interface ActivityRemarkMapper extends BaseMapper<ActivityRemark> {

    int insertSelective(ActivityRemark activityRemark);

    @DataScope(tableAlias = "tar", tableField = "create_by")
    List<ActivityRemark> selectActivityRemarkByPage(ActivityRemarkQuery activityRemarkQuery);

    ActivityRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ActivityRemark activityRemark);
}




